package com.xzh.rxjava;

/**
 * 作者 ： xiezhihui on 2018\8\14 0014.
 * Q Q ： 347649749
 * 微信 ： LOVE347649749
 * 作用 ：xxx
 */

public class User {
    private String id;
    private String name;
    private int sex;
    private String className;
    private float score;

    public User() {
    }

    public User(String id, String name, int sex, String className, float score) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.className = className;
        this.score = score;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public float getScore() {
        return score;
    }

    public void setScore(float score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", className='" + className + '\'' +
                ", score=" + score +
                '}';
    }
}
